package top.fkxuexi.blogapi.modules.auth.dao;


import org.apache.ibatis.annotations.Param;
import top.fkxuexi.blogapi.modules.auth.entity.SysRole;

import java.util.List;

/**
 * @Author blog.fkxuexi.top
 * @Gitee: https://gitee.com/smartwork/
 * @Descri: 用户角色表
 */
public interface SysRoleDAO {

    List<String> getRolePermissionByUserId(@Param("userId") Integer userId);

    List<String> getRoleNameListByUserId(@Param("userId") Integer userId);

    List<SysRole> getRoleListByUserId(@Param("userId") Integer userId);
}